﻿using System;
using System.Linq;
using System.Text;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///SCADA工步信息表
    ///</summary>
    [SugarTable("scada_jobstep_ipt")]
    public partial class scada_jobstep_ipt
    {
           public scada_jobstep_ipt(){


           }
           /// <summary>
           /// Desc:工步编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string jobstep_code_str {get;set;}

           /// <summary>
           /// Desc:工步描叙
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string jobstep_str {get;set;}

           /// <summary>
           /// Desc:第几工步
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? jobstep_id_int {get;set;}

           /// <summary>
           /// Desc:工步元素类别（物料，工具，文件）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string element_type_str {get;set;}

           /// <summary>
           /// Desc:工步元素名称（如物料A）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string jobstep_element_str {get;set;}

           /// <summary>
           /// Desc:工步元素编码（如WL0001）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string element_code_str {get;set;}

           /// <summary>
           /// Desc:工具使用次数或物料数量
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? element_qty_int {get;set;}

           /// <summary>
           /// Desc:文件版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string element_version_str {get;set;}

           /// <summary>
           /// Desc:扭矩
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? torque {get;set;}

           /// <summary>
           /// Desc:角度
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? angle {get;set;}

           /// <summary>
           /// Desc:描叙
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string comment_Str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:nextval('scada_jobstep_ipt_id_seq'::regclass)
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? createtime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string createuser_Str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           //public DateTime? ModifyTime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string remark_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isenable_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isactive_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? issync_bit {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? state_int {get;set;}

           /// <summary>
           /// Desc:
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public int? control_mode {get;set;}

           /// <summary>
           /// Desc:使用次数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? matusedtimes {get;set;}

           /// <summary>
           /// Desc:是否扫描
           /// Default:
           /// Nullable:True
           /// </summary>           
           public short? isscan_int {get;set;}

           /// <summary>
           /// Desc:工序ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? processid {get;set;}

    }
}
